/*----------------------------------------------------------------
* Title: UIFrameWork.UGUIPro
*
* Description: TextPro ImagePro ButtonPro TextMesh Pro
* 
* Support Function: 高性能描边、本地多语言文本、图片、按钮双击模式、长按模式、文本顶点颜色渐变、双色渐变、三色渐变
* 
* Usage: 右键-TextPro-ImagePro-ButtonPro-TextMeshPro
* 
* Author: Steve
*
* Date: 2024.10.12
*
* Modify: 
--------------------------------------------------------------------*/
using TMPro;
using UnityEngine;

namespace UIFrameWork.UGUIPro
{
    [System.Serializable]
    public class TextMeshPro : TextMeshProUGUI
    {
        [SerializeField]
        LocalizationTextExtend m_LocalizationTextExtend = new LocalizationTextExtend();


        protected override void Awake()
        {
            base.Awake();
            if (m_LocalizationTextExtend.UseLocalization)
                m_LocalizationTextExtend.Initializa(this);
        }
 
        protected override void OnDestroy()
        {
            base.OnDestroy();

        }

    }
}